package com.wjpeng.wms.mapper;

import com.wjpeng.wms.domain.Department;
import com.wjpeng.wms.domain.Employee;
import com.wjpeng.wms.domain.Permission;
import com.wjpeng.wms.query.EmployeeQueryObject;
import com.wjpeng.wms.query.QueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    Integer queryCount(QueryObject qo);

    List<Permission> queryLimit(QueryObject qo);

    List<String> selectAllExpression();

    List<String> selectByEmployeeId(Long id);
}